#ifndef EXTRADIALOG_H
#define EXTRADIALOG_H

#include <QDialog>
#include "planche.h"

namespace Ui {
class ExtraDialog;
}

class ExtraDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit ExtraDialog(int,int,QWidget *parent = 0);
    QPolygon *GetPolygon();
    QPixmap* GetCopyOfPixmap();
    ~ExtraDialog();
    Planche *planche;
private slots:
    void on_terminerButton_clicked();
    void closeEvent(QCloseEvent *event);
private:
    Ui::ExtraDialog *ui;
};

#endif // EXTRADIALOG_H
